package com.kunbo.cn.service.impl.core.error;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kunbo.cn.dao.core.error.CarAbnormalDao;
import com.kunbo.cn.entity.core.error.CarAbnormal;
import com.kunbo.cn.service.core.error.CarAbnormalService;
@Service

public class CarAbnormalServiceImpl implements CarAbnormalService {
	
	@Autowired
	private CarAbnormalDao caDao;

	@Override
	public boolean saveOrUpdate(CarAbnormal ca) {
		try {
			caDao.save(ca);
			return true;
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			return false;
		}
		
	}

}
